package com.cloudbroker.bcs.platform.ltb.common.payUtil.web;

import com.cloudbroker.bcs.platform.ltb.common.payUtil.bean.OrderRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
public class FundOrderAction extends BaseAction{

    /**
     * @throws Exception
     * @Method applyCheckFile
     * @Description 申请对账文件
     * @param @field
     * @return String
     * @throws
     */
	@RequestMapping("/epay_apply_check_file")
	@ResponseBody
	public String applyCheckFile(OrderRequest request) throws Exception {
		return proceed (request, "epay_apply_check_file");
	}

	/**
	 * @throws Exception
	 * @Method accountVerify
	 * @Description 账户验证
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_account_verify")
	@ResponseBody
	public String accountVerify(OrderRequest request) throws Exception {

		return proceed (request, "epay_account_verify");
	}
	/**
     * @throws Exception
     * @Method unbindReal
     * @Description 快捷支付解绑卡
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_unbind_real")
    @ResponseBody
    public String unbindReal(OrderRequest request) throws Exception {
        return proceed (request, "epay_unbind_real");
    }
	/**
	 * @throws Exception
	 * @Method bindReal
	 * @Description 快捷支付绑卡
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_bind_real")
	@ResponseBody
	public String bindReal(OrderRequest request) throws Exception {

		return proceed (request, "epay_bind_real");
	}
	/**
     * @throws Exception
     * @Method createAccout
     * @Description 绑卡解绑卡交易状态查询
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_bind_qry")
    @ResponseBody
    public String bindQry(OrderRequest request) throws Exception {

        return proceed (request, "epay_bind_qry");
    }

	/**
	 * @throws Exception
	 * @Method agentCollectionReal
	 * @Description 实时代收
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_agent_collection_real")
	@ResponseBody
	public String agentCollectionReal(OrderRequest request) throws Exception {

		return proceed (request, "epay_agent_collection_real");
	}

	/**
	 * @throws Exception
	 * @Method agentCollectionApply
	 * @Description 快捷支付申请
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_agent_collection_apply")
	@ResponseBody
	public String agentCollectionApply(OrderRequest request) throws Exception {

		return proceed (request, "epay_agent_collection_apply");
	}

	/**
	 * @throws Exception
	 * @Method agentCollectionVerify
	 * @Description 快捷支付短验申请
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_agent_collection_verify")
	@ResponseBody
	public String agentCollectionVerify(OrderRequest request) throws Exception {

		return proceed (request, "epay_agent_collection_verify");
	}

	/**
	 * @throws Exception
	 * @Method agentCollectionConfirm
	 * @Description 快捷支付确认
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_agent_collection_confirm")
	@ResponseBody
	public String agentCollectionConfirm(OrderRequest request) throws Exception {

		return proceed (request, "epay_agent_collection_confirm");
	}

	/**
	 * @throws Exception
	 * @Method gateWayPay
	 * @Description 网关支付申请
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_gateway_pay")
	@ResponseBody
	public String gateWayPay(OrderRequest request) throws Exception {

		return proceed (request, "epay_gateway_pay");
	}

	/**
	 * @throws Exception
	 * @Method agentPayReal
	 * @Description 实时代付
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_agent_pay_real")
	@ResponseBody
	public String agentPayReal(OrderRequest request) throws Exception {

		return proceed (request, "epay_agent_pay_real");
	}

	/**
	 * @throws Exception
	 * @Method queryPayStatus
	 * @Description 单笔订单查询
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_query_pay_status")
	@ResponseBody
	public String queryPayStatus(OrderRequest request) throws Exception {

		return proceed (request, "epay_query_pay_status");
	}

	/**
     * @throws Exception
     * @Method queryOrders
     * @Description 批量订单查询
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_query_orders")
    @ResponseBody
    public String queryOrders(OrderRequest request) throws Exception {

        return proceed (request, "epay_query_orders");
    }

	/**
	 * @throws Exception
	 * @Method refundApply
	 * @Description 退款
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_refund_apply")
	@ResponseBody
	public String refundApply(OrderRequest request) throws Exception {

		return proceed (request, "epay_refund_apply");
	}

	/**
	 * @throws Exception
	 * @Method getSupportBank
	 * @Description 查询支持的银行
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_get_support_bank")
	@ResponseBody
	public String getSupportBank(OrderRequest request) throws Exception {

		return proceed (request, "epay_get_support_bank");
	}

	/**
     * @throws Exception
     * @Method walletPay
     * @Description 钱包支付申请
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_wallet_pay")
    @ResponseBody
    public String walletPay(OrderRequest request) throws Exception {

        return proceed (request, "epay_wallet_pay");
    }
    /**
     * @throws Exception
     * @Method walletPay
     * @Description 海外支付申请
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_overseas_pay")
    @ResponseBody
    public String OverSeasPay(OrderRequest request) throws Exception {

        return proceed (request, "epay_overseas_pay");
    }
    /**
     * @throws Exception
     * @Method walletPay
     * @Description 订单取消
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_reverse")
    @ResponseBody
    public String OrderReverse(OrderRequest request) throws Exception {

        return proceed (request, "epay_reverse");
    }
    /**
     * @throws Exception
     * @Method batchCollect
     * @Description 批量代收
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_batch_collection")
    @ResponseBody
    public String batchCollect(OrderRequest request) throws Exception {

        return proceed (request, "epay_batch_collection");
    }
    /**
     * @throws Exception
     * @Method batchPay
     * @Description 批量代付
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_batch_pay")
    @ResponseBody
    public String batchPay(OrderRequest request) throws Exception{

        return proceed (request,"epay_batch_pay");
    }
    /**
     * @throws Exception
     * @Method batchQuery
     * @Description (批量)代收付查询
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_batch_query")
    @ResponseBody
    public String batchQuery(OrderRequest request) throws Exception{

        return proceed (request,"epay_batch_query");
    }
    /**
     * @throws Exception
     * @Method probe
     * @Description 服务探测
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/probe")
    @ResponseBody
    public String probe(OrderRequest request) throws Exception{

        return proceed (request,"probe");
    }

    /**
     * @throws Exception
     * @Method probe
     * @Description 海关独立报关
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_customs_declaration")
    @ResponseBody
    public String customsDeclaration(OrderRequest request) throws Exception{

        return proceed (request,"epay_customs_declaration");
    }
    /**
     * @throws Exception
     * @Method probe
     * @Description 静态正向扫码付
     * @param @field
     * @return String
     * @throws
     */
    @RequestMapping("/epay_static_scan")
    @ResponseBody
    public String staticScan(OrderRequest request) throws Exception{

    	return proceed (request,"epay_static_scan");
    }
    /**
	 * @throws Exception
	 * @Method probe
	 * @Description 支付结果同步
	 * @param @field
	 * @return String
	 * @throws
	 */
	@RequestMapping("/epay_result_sync")
	@ResponseBody
	public String resultSync(OrderRequest request) throws Exception{

		return proceed (request,"epay_result_sync");
	}
}
